<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
	class Register_model extends CI_Model
	{	
		// Insert a newly registered user
		public function register_new_user($username, $password, $email)
		{
			$password = md5($password);
			
			$data = array(
			   'username'	=> $username ,
			   'email'		=> $email ,
			   'password'	=> $password);
	
			$this->db->insert('users', $data); 
			return true;
		}
	}